<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
  <link href="./awesome-font/css/font-awesome.css" rel="stylesheet">
  <style>
    .date-before, .date-after {
      display: inline-block;
    }
    .date-year-month {
      display: inline-block;
      text-align: center;
      width: 150px;
    }
    .date-header {
      padding: 8px;
      border-bottom: 1px solid #999;
    }
    .date-header span{
      padding: 0 5px;
      cursor: pointer;
    }
    .date-body {
      padding: 5px 8px;
    }
    table td, table th {
      font-weight: normal;
      padding: 5px;
      text-align: center;
    }
    table td {
      cursor: pointer;
    }
    .date-footer { 
      padding: 8px;
      text-align: right;
      border-top: 1px solid #999;
    }
    .no-date-of-current-month {
      color: #999;
    }
    td:not(.date-current):hover {
      background: #ddd;
      color: black;
    }
    .date-current {
      color: white;
      background: #009688;
    } 
    .time-head span {
      display: inline-block;
      width: 33.333%;
      text-align: center;
    }
    .time-body ul {
      display: inline-block;
      height: 110px;
      list-style-type: none;
      margin: 0;
      padding: 0;
      width: 33.33%;
      text-align: center;
      overflow-y: scroll;
    }
  </style>
</head>
<body>
  <div>
    <input type="text" id="mydate">
  </div>
  <script src="./date.js"></script>
</body>
</html>